package io.renren.modules.manage.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 *
 *
 * @author hyc
 * @email 2250242464qq.com
 * @date 2024-04-12 00:05:17
 */
@Data
@TableName("sub_order")
public class SubOrderEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@TableId
	private Integer id;
	/**
	 * 商品id
	 */
	private Integer productId;
	/**
	 * 商品名称
	 */
	@TableField(exist = false)
	private String productName;
	/**
	 * 订单商品数量
	 */
	private Integer quantity;
	/**
	 * 订单金额
	 */
	private BigDecimal money;
	/**
	 * 父订单号
	 */
	private String orderId;

}
